import pandas as pd
import numpy as np
series1 = pd.Series([1, 2, 3, 4], name='A',index=['a','b','c','d'])
series2 = pd.Series([5, 6, 7, 8], name='B',index=['a','b','c','d'])
df = pd.DataFrame([ series1, series2])
print(df)
